package cn.xiaopengstack.domain.award.aggregate;

import cn.xiaopengstack.domain.award.model.entity.UserAwardRecordEntity;
import cn.xiaopengstack.domain.award.model.entity.UserCreditAwardEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author jiangyangang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GiveOutCreditAwardAggregate implements Serializable {

    /** 用户ID */
    private String userId;

    /** 用户发奖记录 */
    private UserAwardRecordEntity userAwardRecordEntity;

    /** 用户积分奖品 */
    private UserCreditAwardEntity userCreditAwardEntity;

}
